<div id="actionForm">
        <h1><b:message key="meetings_action_action"/></h1>
           <h:hidden property="actionId"></h:hidden>
            <table border="0">
                <tr>
                    <td><b:message key="meetings_action_name"/></td>
                    <td><h:text property="actionName" maxlength="512" size="100"/> </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <span class="error" ><h:errors property="actionName"/></span>
                    </td>
                </tr>
                <tr>
                    <td><b:message key="meetings_action_action" /></td>
                    <td><h:text property="actionDesc" maxlength="512" size="100"/></td>
                </tr>

                <tr>
                    <td></td>
                    <td>
                        <span class="error" ><h:errors property="actionDesc"/></span>
                    </td>
                </tr>
                <tr>
                    <td><b:message key="meetings_action_due_date"/></td>
                    <td>
                        <h:text styleId="actionDueDate" property="actionDueDate"/>
                        <button type="button" id="actionDueDateButton">...</button>
                        <script type="text/javascript">//<![CDATA[

                            var cal = Calendar.setup({
                                onSelect: function(cal) { cal.hide() },
                                selectionType : Calendar.SEL_SINGLE


                            });
                            //cal.manageFields("dateButton", "date", "%d/%m/%Y %H:%M");
                            cal.manageFields("actionDueDateButton", "actionDueDate", "%d/%m/%Y");

                            //]]></script>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <span class="error" ><h:errors property="actionDueDate"/></span>
                    </td>


                </tr>

                <tr>
                    <td><b:message key="meetings_action_status"/></td>
                    <td>
                        <h:select property="actionStatus">

                            <h:option value="PENDING"><b:message key="actions_pending" /></h:option>
                            <h:option value="FINISHED"><b:message key="actions_finished" /></h:option>
                        </h:select></td>
                </tr>
            </table>

            <c:if test="${param['method'] == 'showCreateActionsForm'}">
                <h:submit property="operation"><b:message key="gen_create"/></h:submit>
            </c:if>

            <c:if test="${param['method'] == 'showUpdateActionsForm'}">
                <h:submit property="operation"><b:message key="gen_update"/></h:submit>
            </c:if>

            <h:cancel><b:message key="gen_cancel"/></h:cancel>
 <h:submit property="operation">Add action</h:submit>



</div>
